package cn.smbms.util;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class DictUtil {
	public static String getDictValue(String type) {
		return "1".equals(type) ? "女" : "男";
	}

	public static List getDictList(String type) {

		List list = new ArrayList(Arrays.asList(new Dict("1", "男"), new Dict(
				"2", "女")));
		return list;
	}
}
